
#include "util.h"

typedef unsigned short      LabelType;

#include "itkImage.h"

typedef itk::Image< float, 2 >              ScalarImageType;
typedef itk::Image< LabelType, 2 >     LabelImageType;

#include "itkImageFileReader.h"
#include "itkImageFileWriter.h"

typedef itk::ImageFileReader< ScalarImageType > RawImageReader;
typedef itk::ImageFileWriter< ScalarImageType > RawImageWriter;
typedef itk::ImageFileReader< LabelImageType > LabelImageReader;


#include "itkImageRegionIterator.h"

typedef itk::ImageRegionIterator< ScalarImageType > RawImageIterator;
typedef itk::ImageRegionIterator< LabelImageType > LabelImageIterator;

#include "itkRegionOfInterestImageFilter.h"
#include "itkExtractImageFilter.h"

typedef itk::RegionOfInterestImageFilter
           < ScalarImageType, ScalarImageType > RegionOfInterestImageFilter;
typedef itk::ExtractImageFilter
           < ScalarImageType, ScalarImageType > ExtractImageFilter;

#include "itkImageDuplicator.h"

typedef itk::ImageDuplicator< ScalarImageType > ImageDuplicator;

#include "itkConstantPadImageFilter.h"

typedef itk::ConstantPadImageFilter< ScalarImageType, ScalarImageType > PadImageFilter;

using namespace std;

